## Centos7.6 arm 安装docker docker compose


yum list installed |grep docker

sudo yum remove -y docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-engine
sudo yum install -y yum-utils device-mapper-persistent-data lvm2
cp /etc/yum.repos.d/docker-ce.repo /etc/yum.repos.d/docker-ce.repo.bak
sudo curl -o /etc/yum.repos.d/docker-ce.repo https://repo.huaweicloud.com/docker-ce/linux/centos/docker-ce.repo
sudo sed -i 's|https://download.docker.com|https://repo.huaweicloud.com/docker-ce|g' /etc/yum.repos.d/docker-ce.repo
sudo yum clean all
sudo yum makecache fast
yum list docker-ce --showduplicates | grep aarch64 | sort -r
sudo yum install -y   docker-ce-26.1.4-1.el7   docker-ce-cli-26.1.4-1.el7   containerd.io

docker --version
docker compose version


